package Server.network.server;

import Server.Opcodes;
import Server.world.object;

public class ChangHeading extends BasePacket{

	public ChangHeading(object cha){
		writeC(Opcodes.S_OPCODE_CHANGEHEADING);
		writeD(cha.get_objectId());
		writeC(cha.get_heading());
	}

	
	public byte[] send(){
		
		return getBytes();
	}
}
